package com.amazon.inapp.purchasing;

final class ContentDownloadResponse
{
  private final ContentDownloadRequestStatus _contentDownloadRequestStatus;
  private final int _percentComplete;
  private final String _requestId;

  ContentDownloadResponse(String paramString, int paramInt, ContentDownloadRequestStatus paramContentDownloadRequestStatus)
  {
    Validator.validateNotNull(paramString, "requestId");
    Validator.validateNotNull(paramContentDownloadRequestStatus, "contentDownloadRequestStatus");
    this._requestId = paramString;
    this._percentComplete = paramInt;
    this._contentDownloadRequestStatus = paramContentDownloadRequestStatus;
  }

  public ContentDownloadRequestStatus getContentDownloadRequestStatus()
  {
    return this._contentDownloadRequestStatus;
  }

  public int getPercentComplete()
  {
    return this._percentComplete;
  }

  public String getRequestId()
  {
    return this._requestId;
  }

  public static enum ContentDownloadRequestStatus
  {
    static
    {
      COMPLETE = new ContentDownloadRequestStatus("COMPLETE", 1);
      FAILED = new ContentDownloadRequestStatus("FAILED", 2);
      INVALID_LOCATION = new ContentDownloadRequestStatus("INVALID_LOCATION", 3);
      INVALID_SKU = new ContentDownloadRequestStatus("INVALID_SKU", 4);
      ContentDownloadRequestStatus[] arrayOfContentDownloadRequestStatus = new ContentDownloadRequestStatus[5];
      arrayOfContentDownloadRequestStatus[0] = IN_PROGRESS;
      arrayOfContentDownloadRequestStatus[1] = COMPLETE;
      arrayOfContentDownloadRequestStatus[2] = FAILED;
      arrayOfContentDownloadRequestStatus[3] = INVALID_LOCATION;
      arrayOfContentDownloadRequestStatus[4] = INVALID_SKU;
    }
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.amazon.inapp.purchasing.ContentDownloadResponse
 * JD-Core Version:    0.6.2
 */